namespace CIS
{
    using System;
    using System.Web.UI;

    public class DefaultFrame : Page
    {
        private void InitializeComponent()
        {
            base.Load += new EventHandler(this.Page_Load);
        }

        protected override void OnInit(EventArgs e)
        {
            this.InitializeComponent();
            base.OnInit(e);
        }

        private void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (this.Page.Session["IsRead"].ToString() == "True")
                {
                    this.Page.Session.Remove("IsRead");
                }
            }
            catch
            {
                base.Response.Redirect("Default.aspx", true);
            }
        }
    }
}

